import { SocketPackTool } from "../panda/net/SocketPackTool";
import core from "../protocol/core.js";

//解包
SocketPackTool.register(function (msg: any): void {
    //服务验证通过，可以发送登录消息
    console.log('@SSPacketAuthAck', msg);
    // EventMgr.getInstance().dispatchEvent(EventName.SC_Auth_Ack, msg);

}, core.protocol.CoreBuiltinPacketID.PACKET_SS_AUTH_ACK, core.protocol.SSPacketAuthAck);

//注册封包消息
SocketPackTool.registerPackFunc(core.protocol.CoreBuiltinPacketID.PACKET_SS_AUTH, core.protocol.SSPacketAuth);






